package com.prd.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 人事管理-部门管理数据表
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-01-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("oa_department")
@ApiModel(value="OaDepartmentDO对象", description="人事管理-部门管理数据表")
public class OaDepartmentDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "申请主题")
    private String title;

    @ApiModelProperty(value = "申请部门")
    private String applyDept;

    @ApiModelProperty(value = "编号")
    private Integer num;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "申请类型")
    private Integer applyType;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "部门职责范围描述")
    private String deptDescribe;

    @ApiModelProperty(value = "职务")
    private String position;

    @ApiModelProperty(value = "职务职责范围描述")
    private String positionDescribe;

    @ApiModelProperty(value = "岗位")
    private String post;

    @ApiModelProperty(value = "岗位人数")
    private Integer postNum;

    @ApiModelProperty(value = "岗位职责范围描述")
    private String postDescribe;

    @ApiModelProperty(value = "申请人")
    private String applyer;

    @ApiModelProperty(value = "审核人")
    private String reviewBy;

    @ApiModelProperty(value = "批准人")
    private String approveBy;

    @ApiModelProperty(value = "抄送")
    private String ccTo;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


}
